package method.searchSQL;

//Guitar - this is a class to create criteria
public class Dist {

	private String distNo, distName;
	
	public Dist(String distNo, String distName) {
		this.distNo = distNo;
		this.distName = distName;
	}

	public String toString() {
		String x = "[" + distNo + ", "  + distName +"]"
				+ "\n";
		return x;
	}

	public String getdistNo() {
		return distNo;
	}

	public String getdistName() {
		return distName;
	}

	
	/*
	 * public String toString() { String x =
	 * "[MEGA] -- "+id+" : "+type+" : "+qty+"\n"; return x; }
	 * 
	 * public void stockIn(int qty) { this.qty += qty; }
	 * 
	 * public void stockOut(int qty) { this.qty -= qty; }
	 * //////////////////////custom public String getid(){ return id; } public
	 * int getqty(){ return qty; }
	 */

}
